001 /* 002 * Copyright 2004 Stephen J. McConnell. 003 * Copyright 2004-2005 Niclas Hedhman. 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 014 * implied. 015 * 016 * See the License for the specific language governing permissions and 017 * limitations under the License. 018 */ 019 020 package net.dpml.station; 021 022 /** 023 * Exception to indicate that there was a profile related error. 024 * 025 * @author <a href="http://www.dpml.net">The Digital Product Meta Library</a> 026 * @version $Id: TransitException.java 2786 2005-06-08 03:02:29Z mcconnell@dpml.net $ 027 */ 028 public class ProfileException extends Exception 029 { 030 /** 031 * Serial version identifier. 032 */ 033 static final long serialVersionUID = 1L; 034 035 /** 036 * Construct a new <code>ProfileException</code> instance. 037 * 038 * @param message The detail message for this exception. 039 */ 040 public ProfileException( final String message ) 041 { 042 this( message, null ); 043 } 044 045 /** 046 * Construct a new <code>ProfileException</code> instance. 047 * 048 * @param message The detail message for this exception. 049 * @param cause the root cause of the exception 050 */ 051 public ProfileException( final String message, final Throwable cause ) 052 { 053 super( message, cause ); 054 } 055 } 056